package com.iraeta.entity.main.type;

public class SrmMessageStatus {
    public static final int unProcess = 0;
    public static final int getDataSrm = 10;
    public static final int processSuccess = 20;
    public static final int processFail = 30;

    public static String getSrmMessageStatusStr(int status){
        String res = "未知";
        switch (status){
            case unProcess:
                res = "未处理";
                break;
            case getDataSrm:
                res = "1688订单内容获取成功";
                break;
            case processSuccess:
                res = "处理成功";
                break;
            case processFail:
                res = "处理失败";
                break;
            default:
                break;
        }
        return res;
    }
}
